import { IUserClass } from '@/shared/model/user-class.model';
import { IUserRole } from '@/shared/model/user-role.model';

import { Sex } from '@/shared/model/enumerations/sex.model';
export interface IStudent {
  id?: number;
  studentNumber?: string;
  studentName?: string | null;
  studentStatus?: number | null;
  studentPassword?: string;
  studentSex?: Sex | null;
  address?: string | null;
  userClasses?: IUserClass[] | null;
  userRoles?: IUserRole[] | null;
}

export class Student implements IStudent {
  constructor(
    public id?: number,
    public studentNumber?: string,
    public studentName?: string | null,
    public studentStatus?: number | null,
    public studentPassword?: string,
    public studentSex?: Sex | null,
    public address?: string | null,
    public userClasses?: IUserClass[] | null,
    public userRoles?: IUserRole[] | null
  ) {}
}
